package com.seeyon.apps.exportExcelCtrl.dao;

import com.seeyon.ctp.common.exceptions.BusinessException;

import java.util.List;
import java.util.Map;

/**
 * @Title ExportExcelCtrlDaoImpl
 * @description: 底表导出自定义按钮dao层实现类
 * @author wxt.daicheng
 * @date 2024/8/20
 * @version 1.0
 */
public interface ExportExcelCtrlDao {

    /**
     * @title getLeaderList
     * @description: 获取领导目录
     * @author wxt.daicheng
     * @param params:
     * @date: 2024/8/20
     * @return: java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     */
    List<Map<String, Object>> getLeaderList(Map<String, Object> params) throws BusinessException;


    /**
     * @title getExportExcelList
     * @description: 获取导出数据
     * @author wxt.daicheng
     * @param leaderList:
     * @date: 2024/8/20
     * @return: java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     */
    List<Map<String, Object>> getExportExcelList(String tableName, String field,List<String> leaderList) throws BusinessException;
}
